KERNELDIR=/home/robert/Desktop/whois-project/whois-kernel
ifneq ($(KERNELRELEASE),)
	obj-m :=  gpio_i2c_sccb.o
else
	KERNELDIR ?= /lib/modules/$(shell uname -r)/build
	PWD := $(shell pwd)
default:
	$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
endif

clean:
	rm *.order *.symvers *.ko *.mod.c *.o
